package com.qujia.markert.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qujia.markert.domain.SaleActivity;
import com.qujia.markert.domain.req.SaleActivityQueryReq;
import com.qujia.markert.domain.vo.SaleActivityVO;

import java.util.List;

/**
 * @date 2023/12/20
 */
public interface ISaleActivityService extends IService<SaleActivity> {

    void insert(SaleActivityVO saleActivityVO);

    void update(SaleActivityVO saleActivityVO);

    void insertOrUpdate(SaleActivityVO saleActivityVO);

    SaleActivityVO getSaleActivityVOById(Long id);

    List<SaleActivity> queryList(SaleActivityQueryReq queryReq);

    void switchEnable(Long id);

}
